#ifndef VECTOR3_H
#define VECTOR3_H

#include <QtOpenGL>

class Vector3
{
public:
	Vector3();
	Vector3(GLfloat x, GLfloat y, GLfloat z);
	~Vector3();
	
	Vector3 operator+(Vector3 lVector);	// vector addition
	Vector3 operator-(Vector3 lVector);	// subtraction of vectors
	Vector3 operator*(GLfloat lNum);	// multipluing a vector by a number
	Vector3 operator/(GLfloat lNum);	// division of vector by a number

	GLfloat getX() { return mX; }
	GLfloat getY() { return mY; }
	GLfloat getZ() { return mZ; }

	void setX(GLfloat x) { mX = x; }
	void setY(GLfloat y) { mY = y; }
	void setZ(GLfloat z) { mZ = z; }

private:
	GLfloat mX;
	GLfloat mY;
	GLfloat mZ;
};
#endif // VECTOR3_H